page{height:100%;background-color:#F7F7F7;}
.container{
  height:100%;
  width:100%;
  .swiperData{
    position:absolute;
    top:0;
    height:4.5%;
    background-color:#171c2550;
    width:100%;
    z-index: 50;
    text-align: center;
    font-size:calc(unit(18,rpx) * 750 / 390); ;
    line-height:calc(unit(34,rpx) * 750 / 390);
    swiper-item{
      position:absolute;
      opacity: 1;
      color: white;
    }
  }

  .skyImg{
    width:100%;
    height:calc(unit(413,rpx) * 750 / 390);
    position: absolute;
    top:calc(unit(-413-88,rpx) * 750 / 390);
    z-index: 10;
    image{
      width:100%;
      height:100%;
    }
  }
  .textImg{
    height: 22%;
    width: calc(unit(159,rpx) * 750 / 390);
    position: absolute;
    //background-color: red;
    top:2%;
    left: calc(unit(120,rpx) * 750 / 390);;
    z-index:40;
    //transition: all 4s;
    image{
      width:100%;
      height:100%;

      transform:rotate(8deg);
    }
  }
  .textLine{
    height:calc(unit(21,rpx) * 750 / 390);
    width: 100%;
    line-height:calc(unit(21,rpx) * 750 / 390);
    font-size:calc(unit(21,rpx) * 750 / 390);
    position: absolute;
    top:20%;
    z-index: 40;
    text-align: center;
    color: white;
    opacity: 0;
  }
  .textLineBottom {
    position: absolute;
    background-color: grey;
    text-align: center;
    bottom: 12%;
    left: calc((100% - unit(200,rpx) * 750 / 390)/2);;
    width: calc(unit(180,rpx) * 750 / 390);
    height: 3%;
    z-index: 45;
    opacity: 0.5;
    border-radius: calc(unit(16,rpx) * 750 / 390);
    font-size:calc(unit(21,rpx) * 750 / 390);
    //line-height:100%;
    color: white;
  }
  .coffeeIp{
    opacity:1;
    width:calc(unit(260,rpx) * 750 / 390);
    height:60.7%;
    position: absolute;
    top:23.8%;
    left:calc(100vw);
    z-index: 30;
    .machine{
      width:100%;
      height:100%;

    }
    .rocker{
      position: absolute;
      width:calc(unit(60,rpx) * 750 / 390);
      height:5%;
      z-index: 37;
      left:calc(unit(55,rpx) * 750 / 390);
      top: 61%;
    }
    .rockerActive{
      position: absolute;
      width:90%;
      height:50%;
      z-index: 36;
      left:calc(unit(9,rpx) * 750 / 390);
      top: 39.5%;
    }
    .coffeeOut{
      position: absolute;
      width:calc(unit(32,rpx) * 750 / 390);
      height:2.5%;
      top:65%;
      left:calc(unit(112,rpx) * 750 / 390);
    }
    .coffeeOutActive{
      position: absolute;
      width:95%;
      height:52%;
      top:40.3%;
      left:calc(unit(-5,rpx) * 750 / 390);
    }
  }
  .btnBegin{
    width:calc(unit(10,rpx) * 750 / 390);
    height:calc(unit(10,rpx) * 750 / 390);
    position: absolute;
    top:61%;
    left:calc(unit(106,rpx) * 750 / 390);
    z-index: 45;
    opacity: 0;
    //transform:rotate(-8deg);
    image{
      transform: rotate(-16deg);
      width:800%;
      height:1000%;
      position: absolute;
      top:-800%;
      left: -700%;
      z-index: 50;

    }
  }
  .btnMessage{
    width:calc(unit(48,rpx) * 750 / 390);
    height:20.2%;
    position: absolute;
    top:37.7%;
    right:calc(unit(20,rpx) * 750 / 390);;
    z-index:50;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    view{
      height:48%;
      image{
        width:100%;
        height:100%;
      }
    }
  }
  .ruleShow{
    position: absolute;
    top:10.1%;
    left: calc((100% - unit(300,rpx) * 750 / 390)/2);;
    z-index:60;
    height: 67.1%;
    .ruleImg{
      width: calc(unit(300,rpx) * 750 / 390);
      height: 87.48%;
    }
    .closeView{
      position: absolute;
      bottom:0;
      width: calc(unit(300,rpx) * 750 / 390);
      height: 24%;
    }
    .closeImg{
      width:calc(unit(40,rpx) * 750 / 390);
      height:calc(unit(40,rpx) * 750 / 390);
      position: absolute;
      bottom: 0;
      left: calc((100% - unit(40,rpx) * 750 / 390)/2);; ;

    }
  }
  .historyShow{
    position: absolute;
    top:18.96%;
    left: calc((100% - unit(300,rpx) * 750 / 390)/2);;
    z-index:60;
    height: 43.44%;
    width: calc(unit(300,rpx) * 750 / 390);;
    background-color: white;
    text-align: center;
    border-radius:calc(unit(8,rpx) * 750 / 390);
    .title{
      width:calc(unit(224,rpx) * 750 / 390);
      height: 7.25%;
      //background-color: #115BDE;
      position: absolute;
      left: calc((100% - unit(224,rpx) * 750 / 390)/2);
      top:4.8%;
      text-align: center;
      font-size:calc(unit(22,rpx) * 750 / 390);
      line-height:calc(unit(22,rpx) * 750/390);
      .line{
        position: absolute;
        top:calc((100% - unit(3,rpx) * 750 / 390)/2);
        height:calc(unit(3,rpx) * 750 / 390);
        width:calc(unit(68,rpx) * 750 / 390);
        background: linear-gradient(to right, white, black);
      }
    }
    .tip{
      position: relative;
      top:13.3%;
      color: gray;
      font-size:calc(unit(15,rpx) * 750 / 390);
    }
    .box{
      height:67.7%;
      width:calc(unit(224,rpx) * 750 / 390);
      position: absolute;
      left: calc((100% - unit(224,rpx) * 750 / 390)/2);
      bottom:9.67%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      overflow: auto;
      flex-wrap: wrap;
      .card{
        height: 22.32%;
        width:calc(unit(100,rpx) * 750 / 390);
        margin-bottom: 3.5%;
        position: relative;
        image{
          height:100%;
          width:calc(unit(37.5,rpx) * 750 / 390);
          position: absolute;
          left:0;
        }
        .message{
          position: absolute;
          right:0;
          width:calc(unit(62,rpx) * 750 / 390);
          text-align: left;
          height:100%;
          font-size: calc(unit(12,rpx) * 750 / 390);
          display: flex;
          flex-direction: column;
        }
      }
      .card:nth-last-child(-n+2){
        margin-bottom:0;
      }

    }
    .closeImg{
      width:calc(unit(40,rpx) * 750 / 390);
      height:calc(unit(40,rpx) * 750 / 390);
      position: absolute;
      bottom: 0;
      left: calc((100% - unit(40,rpx) * 750 / 390)/2);
      transform: translateY(160%);
    }
  }
  .cardMessage{
    position: absolute;
    width: calc(unit(229,rpx) * 750 / 390);
    height: 53.5%;
    left:calc(unit(81,rpx) * 750 / 390);
    top:18.8%;
    color: white;
    opacity: 1;
    z-index: 110;
    text-align: center;
    .title{
      opacity: 0;
      position: relative;
      //margin-top:5%;
      z-index: 105;
      color: white;
      font-size:calc(unit(26,rpx) * 750 / 390);
      line-height:calc(unit(26,rpx) * 750 / 390);
    }
    .cardImg{
      position: absolute;
      top:10.3%;
      left: calc((100% - unit(150,rpx) * 750 / 390)/2);
      width:calc(unit(150,rpx) * 750 / 390);
      height: 49%;
      border-radius:calc(unit(8,rpx) * 750 / 390);
      transform: scale(0.77)translateY(360%)rotate(-210deg);
      z-index: 110;
    }
    .message{
      opacity: 0;
      white-space: nowrap;
      position: absolute;
      z-index: 105;
      bottom: 24%;
      width: 100%;
      //background-color: red;
      margin-left: auto;
      margin-bottom: auto;
      height: calc(unit(48,rpx) * 750 / 390);
      font-size:calc(unit(16,rpx) * 750 / 390);
      view{
        width: 100%;
        text-align: center;
      }
      //line-height:calc(unit(16,rpx) * 750 / 390) ;
    }
    .btnBlock{
      opacity: 0;
      z-index: 105;
      position: absolute;
      left:calc((100% - unit(130,rpx) * 750 / 390)/2);
      bottom: 0;
      width: calc(unit(130,rpx) * 750 / 390);
      height: 21.57%;
      text-align: center;
      line-height: calc(unit(48,rpx) * 750 / 390);
      font-size:calc(unit(16,rpx) * 750 / 390);
      //background-color: red;
      .getOrder{
        height:55%;
        width:100%;
        background-color: #115BDE;
        border-radius:calc(unit(50,rpx) * 750 / 390);
        border-top: calc(unit(1, rpx) * 750 / 390) solid black;
        border-left: calc(unit(1, rpx) * 750 / 390) solid black;
        border-right: calc(unit(4, rpx) * 750 / 390) solid black;
        border-bottom: calc(unit(4, rpx) * 750 / 390) solid black;
      }
    }
  }
  .bottomAni{
    position: absolute;
    width: 100%;
    top:38.6%;
    height: 50%;

    //前面
    .front{
      width: 250%;
      height: 200%;
      position: absolute;
      z-index: 120;
      transform: translateX(-75vw)translateY(-49.5%);
    }
    //后面
    .back{
      width:250%;
      height: 200%;
      position: absolute;
      z-index: 100;
      transform: translateX(-75vw)translateY(-49.5%);
    }
  }
  .mask {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 80;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0;
  }
  .maskInfo {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 55;
    height: 100%;
    width: 100%;
    background-color: #171c25;
    opacity: 0.6;
  }
  .lightAni{
    position: absolute;
    width:calc(unit(229,rpx) * 750 / 390 );
    height:32.8%;
    left:calc((100% - unit(229,rpx) * 750 / 390)/2);
    z-index: 105;
    top:22%;
    image{
      opacity: 1;
      width: 100%;
      height: 100%;
    }
    //height:20.1%;
  }
  .particleAni{
    position: absolute;
    opacity: 1;
    width:calc(unit(229,rpx) * 750 / 390 );
    height:32.8%;
    transform:scale(2.5);
    left:calc((100% - unit(229,rpx) * 750 / 390)/2);
    z-index: 150;
    //background-color: red;
    top:22%;
    image{
      width: 100%;
      height: 100%;
    }
  }
}